package com.gl;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication(scanBasePackages = {"com.mzj", "com.gl", "com.haixiaoke", "cn.hutool.extra.spring"})
@MapperScan(value = "com.haixiaoke.saas.repository.mapper")
@EnableCaching
public class ManagerApplication {
	private static final Logger log = LoggerFactory.getLogger(ManagerApplication.class);

	public static void main(String[] args) {
		SpringApplication.run(ManagerApplication.class, args);
		log.info("                                                  \n" +
				 "(♥◠‿◠)ﾉﾞ  启动成功   ლ(´ڡ`ლ)ﾞ                                                                                        \n" +
				 "   _____ __  ______________________________       \n" +
				 "  / ___// / / / ____/ ____/ ____/ ___/ ___/       \n" +
				 "  \\__ \\/ / / / /   / /   / __/  \\__ \\\\__ \\  \n" +
				 " ___/ / /_/ / /___/ /___/ /___ ___/ /__/ /        \n" +
				 "/____/\\____/\\____/\\____/_____//____/____/      \n");
	}
}
